import request from "@/utils/request";
import { serverBaseURL } from '@/constant/system.js'
// 请求地址前缀(微服务配置中的服务名称)
const baseURL = serverBaseURL

// 分页查询
export function selectByPage(data) {
  return request({
    url: baseURL+"/capitalManage/selectByPage",
    method: "post",
    data,
  });
}
export function getItemByID(data) {
  return request({
    url: baseURL+"/capitalManage/getByID",
    method: "post",
    data,
  });
}
export function addItem(data) {
  return request({
    url: baseURL+"/capitalManage/add",
    method: "post",
    data,
  });
}
export function updateItem(data) {
  return request({
    url: baseURL+"/capitalManage/update",
    method: "post",
    data,
  });
}
export function deleteItem(data){
  return request({
    url: baseURL+"/capitalManage/delete",
    method: "post",
    data,
  });
}

